module.exports = app => {
    const { STRING, INTEGER } = app.Sequelize;

    const System = app.model.define('t_system', {
        id: { type: INTEGER, primaryKey: true, autoIncrement: true },
        d_key: {type:STRING(255),'allowNull': false},
        d_value: {type:STRING(255),'allowNull': false},
    }, {
        timestamps: false,  //去除createAt updateAt
        freezeTableName: true,  //使用自定义表名
    })
    return System;
};